<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    
<div id="explanation">
<h3><span><fmt:message key="books.book"/>: ${book.id_libro } - ${book.isbn}</span></h3>
	<p class="p1"><span><b><fmt:message key="books.isbn"/>:</b> ${book.isbn}</span></p>
	<fieldset>
	<legend><fmt:message key="menu.authors"/></legend>
	<c:forEach items="${author}" var="author"><p class="p1">${author.nombre} ${author.apellidos}</p></c:forEach>
	</fieldset><fieldset>
	<legend><fmt:message key="menu.genres"/></legend>
	<c:forEach items="${genre}" var="genre"><p class="p1">${genre.nombre}</p></c:forEach>
	</fieldset>
	<p class="p1"><span><a href="/Biblioteca/books/editBook/${book.id_libro }"><fmt:message key="general.edit"/></a>
	<a href="/Biblioteca/books/deleteBook/${book.id_libro }"><fmt:message key="general.delete"/></a></span></p>
</div>